home *** CD-ROM | disk | FTP | other *** search
- Path: colossus.holonet.net!russell
- From: russell@news.mdli.com (Russell Blackadar)
- Newsgroups: comp.lang.c++
- Subject: Re: Struct as default arg?
- Date: 29 Jan 1996 18:36:41 GMT
- Organization: HoloNet National Internet Access System: 510-704-1058/modem
- Message-ID: <4ej43p$75u@colossus.holonet.net>
- References: <rplDLrDFr.35K@netcom.com> <4e94or$5nu@colossus.holonet.net> <4ecbop$5t5@news4.digex.net>
- NNTP-Posting-Host: jubal.mdli.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Ell (ell@access1.digex.net) wrote:
- : Russell Blackadar (russell@news.mdli.com) wrote:
-
- : : Also, in C++, you can write
- : :
- : : struct Point { double x; double y; };
- : :
- : : which IMO is preferable to a typedef, stylistically.
-
- : The immediately above example struct declaration is also the standard C
- : one.
-
- True enough. What I should have said is that the above declaration
- makes a typedef superfluous. That is only true in C++.
- --
- Russell Blackadar, russell@mdli.com
-